home *** CD-ROM | disk | FTP | other *** search
- Path: peer-news.britain.eu.net!demon!redrobe.demon.co.uk
- From: Mike@Redrobe.demon.co.uk (Mike)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatype write method?
- Date: 30 Jan 96 10:31:00 +0000
- Message-ID: <1563.6603T631T38@Redrobe.demon.co.uk>
- References: <9601082151.AA002hy@redrobe.demon.co.uk> <30f3ba1d@cu-amiga.demon.co.uk>
- NNTP-Posting-Host: redrobe.demon.co.uk
- X-NNTP-Posting-Host: redrobe.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- Hi, Mat Bettinsonn , on 10-Jan-96 07:07:41 you scribbled....
- >-=<In a message of 08 Jan 96 mike Redrobe wrote to All>=-
-
- >Hi mike,
-
- mR>> Hmm but who controls what format it is saved in? Multiview/save function
- mR>> should have a listview or something for formats?
-
- >It would be nice but there isn't a library call provided to give you a list
- >of available formats :-(
-
- well you *could* query each active datatype to see if it supports DTM_WRITE ?
- ...or do they say the support it, but use the supercalss to do it?
-
- mR>> or are you limited to having the datatype that loaded the image, save
- mR>> it also:
-
- mR>> e.g. gif ->multiview ->iff
- mR>> ->gif (if gif.datatype supported it)
-
- >You can choose IFF or RAW as the save type. The IFF is handled by
- >picture.datatype and RAW is handled by the actual datatype. In theory you
- >should be able to create a new datatype of another type and save using it's
- >RAW method.
-
- multiview won't... but perhaps that'll get rewritten for OS4 ;)
-
- >eg: Load up a GIF, create a JPEG datatype and save as JPEG.
-
- >.-------------------------------------------------.
- >| \ / | |/ Internet: Vik@cu-amiga.demon.co.uk |
- >| \/ | |\ V.S.Kimyani@herts.ac.uk |
- >| Fido: 2:254/205.1 |
- >`-------------------------------------------------'
-
-
-
-
- Mike
-
- --
- ---------------------------------------------------------------------------
- Mike Redrobe - Mike@Redrobe.demon.co.uk MikeRR on #Amiga
- ---------------------------------------------------------------------------
-
-